import httpInstance from '@/utils/http'
/**
 * 获取结算信息
 */
export const getCheckoutInfoAPI = () => {
  return httpInstance({
    url:'/member/order/pre',
    method: 'GET',
  })
}


// 创建订单
export const createOrderAPI = (data) => {
    return httpInstance({
      url: '/member/order',
      method: 'POST',
      data
    })
  }